package pattern.homework;

/**
 * @author: jxj
 * @create: 2019-05-01
 **/
public class NotUsePatternPrototype {
    private static PlayRecord getRecord(UsrPlayRecord record) {
        PlayRecord returnRecord = new PlayRecord();
        returnRecord.setRecordId(record.getId());
        returnRecord.setPlayUrl(record.getPlayUrl());
        returnRecord.setPlatform(record.getPlatform());
        returnRecord.setUpdateTime2(record.getuDate());
        returnRecord.setConAlbumId(record.getConAlbumId());
        returnRecord.setCurrPlayTime(record.getCurrPlayTime());
        returnRecord.setContentName(record.getContentName());
        returnRecord.setConContentId(record.getConContentId());
        returnRecord.setOutConAlbumId(record.getOutConAlbumId());
        returnRecord.setOutConContentId(record.getOutConContentId());
        return returnRecord;
    }
}
